package com.lmh.mapper;

import com.lmh.entity.Channel;

import java.util.List;
import java.util.Map;

public interface ChannelDao {

    public int create(Channel channel);

    public int delete(Map<String, Object> paramMap);

    public int update(Map<String, Object> paramMap);

    public List<Channel> query(Map<String, Object> paramMap);

    // 返回所有数据
    public List<Channel> tree();

    public Channel detail(Map<String, Object> paramMap);

    public int count(Map<String, Object> paramMap);
}
